﻿using AutoMapper;

namespace BCVP.Net8.Extensions
{

  /// <summary>
  /// 静态全局AutoMapper 配置文件
  /// </summary>
  public class AutoMapperConfig
  {
    public static MapperConfiguration RegisterMappings()
    {
      return new MapperConfiguration(cfg =>
      {
        cfg.AddProfile(new CustomProfile());
      });
    }
  }
}
